package com.autumn.scheduler.domain.entities;

import com.autumn.common.api.domain.entities.auditing.IGmtModified;
import com.autumn.mybatis.mapper.annotation.TableOrderBy;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 作业详情
 * 
 * @author 老码农
 *
 *         2018-03-19 20:13:48
 */
@Entity
@Table(name = "autumn_job_details")
@TableOrderBy(value = "id ASC")
public class AutumnJobDetails extends AbstractAutumnJob implements IGmtModified {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2103529658820392424L;
	
	private long executeNumbers;
	private int executeOperation;
	private long runNumbers;
	private long runSuccessNumbers;
	private long runFailNumbers;
	private Integer timeInterval;
	private String timeIntervalUnit;
	private String cronExpression;	
	private String executeParameter;
	private Date gmtModified;


	public long getExecuteNumbers() {
		return executeNumbers;
	}

	public void setExecuteNumbers(long executeNumbers) {
		this.executeNumbers = executeNumbers;
	}

	public int getExecuteOperation() {
		return executeOperation;
	}

	public void setExecuteOperation(int executeOperation) {
		this.executeOperation = executeOperation;
	}

	public Integer getTimeInterval() {
		return timeInterval;
	}

	public void setTimeInterval(Integer timeInterval) {
		this.timeInterval = timeInterval;
	}

	public String getTimeIntervalUnit() {
		return timeIntervalUnit;
	}

	public void setTimeIntervalUnit(String timeIntervalUnit) {
		this.timeIntervalUnit = timeIntervalUnit;
	}

	public String getCronExpression() {
		return cronExpression;
	}

	public void setCronExpression(String cronExpression) {
		this.cronExpression = cronExpression;
	}

	public long getRunNumbers() {
		return runNumbers;
	}

	public void setRunNumbers(long runNumbers) {
		this.runNumbers = runNumbers;
	}

	public long getRunSuccessNumbers() {
		return runSuccessNumbers;
	}

	public void setRunSuccessNumbers(long runSuccessNumbers) {
		this.runSuccessNumbers = runSuccessNumbers;
	}

	public long getRunFailNumbers() {
		return runFailNumbers;
	}

	public void setRunFailNumbers(long runFailNumbers) {
		this.runFailNumbers = runFailNumbers;
	}	

	public String getExecuteParameter() {
		return executeParameter;
	}

	public void setExecuteParameter(String executeParameter) {
		this.executeParameter = executeParameter;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}
}
